package com.wangliang.deepseek.utils;

public class MarkdownUtil {
    public static String formatCodeBlock(String code, String language) {
        return String.format("```%s\n%s\n```", language, code);
    }

    public static String formatBold(String text) {
        return String.format("**%s**", text);
    }

    public static String formatItalic(String text) {
        return String.format("*%s*", text);
    }

    public static String formatLink(String text, String url) {
        return String.format("[%s](%s)", text, url);
    }
}